package com.leantech.android.browser.browser

import com.cscj.android.repository.settings.model.SettingConstants

/**
 * Tab控制器
 * 由WebView来实现
 */
interface WebViewController {
    fun enableReaderMode(enable: Boolean)

    fun updateDarkMode(@SettingConstants.DarkMode darkMode: Int)

    fun updateImageMode(imageMode:Int)

    fun isAtTop(): Boolean

    fun updateUserAgent(userAgent: String)

    fun updateFontSize(fontSize:Int)

}